{"version":3,"sources":["api.js"],"names":["BX","namespace","Filter","Api","parent","this","prototype","setFields","fields","Preset","data","type","isPlainObject","getPopup","getPreset","deactivateAllPresets","preset_id","updateParams","applyPreset","setFilter","filter","activatePreset","checkFields","isPresetValuesModified","applyFilter","newFields","Object","assign","additional","apply","extendFilter","keys","forEach","key","isNumber","currentPresetId","getCurrentPresetId","getFilterFieldsValues","previewsAdditionalValues","getAdditionalValues","length","isEditEnabled","closePopup","isAddPresetEnabled","disableAddPreset"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,aAEbD,GAAGE,OAAOC,IAAM,SAASC,GAExBC,KAAKD,OAASA,GAIfJ,GAAGE,OAAOC,IAAIG,WACbC,UAAW,SAASC,GAEnB,IAAIC,EAAQC,EAEZ,GAAIV,GAAGW,KAAKC,cAAcJ,GAC1B,CACCH,KAAKD,OAAOS,WACZJ,EAASJ,KAAKD,OAAOU,YACrBL,EAAOM,uBACPL,GAAQM,UAAW,aAAcR,OAAQA,GACzCH,KAAKD,OAAOa,aAAaP,GACzBD,EAAOS,YAAY,gBAIrBC,UAAW,SAASC,GAEnB,UAAWA,IAAW,SACtB,CACCf,KAAKD,OAAOa,aAAaG,GACzBf,KAAKD,OAAOU,YAAYC,uBACxBV,KAAKD,OAAOU,YAAYO,eAAeD,EAAOJ,WAC9CX,KAAKD,OAAOU,YAAYI,YAAYE,EAAOJ,WAE3C,IAAKI,EAAOE,cAAgBjB,KAAKD,OAAOU,YAAYS,uBAAuBH,EAAOJ,WAClF,CACCX,KAAKD,OAAOoB,YAAY,MAAOJ,EAAOJ,eAGvC,CACC,IAAIS,KAEJ,GAAIzB,GAAGW,KAAKC,cAAcQ,EAAOZ,QACjC,CACCiB,EAAYC,OAAOC,UAAWP,EAAOZ,QAGtC,GAAIR,GAAGW,KAAKC,cAAcQ,EAAOQ,YACjC,CACCH,EAAYC,OAAOC,UAAWP,EAAOQ,YAGtCvB,KAAKD,OAAOU,YAAYC,uBACxBV,KAAKE,UAAUkB,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